<?php
class Articles extends CI_Controller {
	public function __construct() {
		parent::__construct ();
		// 登录校验
		$this->common->check_login ();
		$this->load->helper ( 'url' );
	}
	
	// 公告文章详情页
	public function index() {
		$this->load->model ( 'notice_model' );
		$data ['result'] = $this->notice_model->notice_list ( $_GET ['id'] );
		
		$data ['left'] = $this->load->view ( 'left', '', TRUE );
		$data ['menu'] = $this->load->view ( 'menu', '', TRUE );
		
		$this->load->view ( 'articles', $data );
	}
}